import http from '../utils/http_interceptor.js';

/**
 * 首页-热点活动
 * @params {String} areaCode 区域编码
 */ 
export const queryIndexActiveList = async (params = {}) => {
  return await http.post('/portal/v1/h5/active/queryIndexActiveList', params);
};

/**
 * 活动详情
 * @params {String} areaCode 区域编码
 */ 
export const getActiveInfo = async (params = {}) => {
  return await http.post('/portal/v1/h5/active/getActiveInfo', params);
};